import request from '@/utils/request'

export const getActivityEvaluations = (activityId) => {
  return request({
    url: `/evaluations/activity/${activityId}`,
    method: 'get'
  })
}

export const createEvaluation = (data) => {
  return request({
    url: '/evaluations',
    method: 'post',
    data
  })
}

export const deleteEvaluation = (id) => {
  return request({
    url: `/evaluations/${id}`,
    method: 'delete'
  })
}

